﻿using Jizsoft.Bases.Web.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace Jizsoft.Bases.Web.Controllers
{
    public class UserController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Menus = new QueryService().QueryMenus();
            return View("Index", "~/Views/Shared/_layout_admin_dynamic.cshtml", null);
        }

        public ActionResult List()
        {
            ViewBag.Menus = new QueryService().QueryMenus();
            return View("List", "~/Views/Shared/_layout_admin_dynamic.cshtml", null);
        }
    }
}
